<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/10/7
  Time: 14:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    //嵌入java代码
   // for(int i=1;i<=10;i++)
        //out.println("<h1>hello</h1>");
%>
<table>
    <tr><td>序号</td> <td>姓名</td></tr>
    <%
        for(int i=1;i<=20;i++){
            out.println("<tr>");
              out.println("<td>"+i+"</td>");
              out.println("<td>"+"用户"+i+"</td>");
            out.println("</tr>");

        }
    %>
</table>
</body>
</html>
